package com.ruoyi.erecord.employee.service;

import java.util.Collection;
import java.util.List;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.erecord.employee.domain.bo.EmployeeImportDetailBo;
import com.ruoyi.erecord.employee.domain.vo.EmployeeImportDetailVo;

/**
 * 人员导入明细Service接口
 *
 * @author cc
 * @date 2023-04-15
 */
public interface IEmployeeImportDetailService {

    /**
     * 查询人员导入明细
     */
    EmployeeImportDetailVo queryById(Long id);

    /**
     * 查询人员导入明细列表
     */
    TableDataInfo<EmployeeImportDetailVo> queryPageList(EmployeeImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询人员导入明细列表
     */
    List<EmployeeImportDetailVo> queryList(EmployeeImportDetailBo bo);

    /**
     * 新增人员导入明细
     */
    Boolean insertByBo(EmployeeImportDetailBo bo);

    /**
     * 修改人员导入明细
     */
    Boolean updateByBo(EmployeeImportDetailBo bo);

    /**
     * 校验并批量删除人员导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
    
    Boolean batchInsertBo(List<EmployeeImportDetailVo> list);
    
    Boolean batchUpdatetBo(List<EmployeeImportDetailVo> list);
}
